package model;

import java.util.LinkedList;
import java.util.List;

import javax.faces.model.SelectItem;

public class Language {
	private String currentLanguage;
	private List<SelectItem> allItems;

	public Language() {
		this.currentLanguage = "en";
		allItems = new LinkedList<SelectItem>();
		allItems.add(new SelectItem("en", "English"));
		allItems.add(new SelectItem("de", "Deutsch"));
		allItems.add(new SelectItem("fr", "Francais"));
	}

	public String getCurrentLanguage() {
		return this.currentLanguage;
	}

	public void setCurrentLanguage(String language) {
		this.currentLanguage = language;
	}

	public List<SelectItem> getAllItems() {
		return allItems;
	}
}
